<script setup>
import { ref } from 'vue'

let props = defineProps(['entityDataItem'])
let entityDataItem = props.entityDataItem

</script>


<template>

    <div class="model102-box">
        <div class="model102-box-son">
            <div class="row1">
                <img :src="entityDataItem.image0" alt="">
            </div>
            <div class="row2">
                <div class="rr1">
                    <p>{{ entityDataItem.field11 }}</p>
                </div>
                <div class="rr2">
                    <div class="li1">
                        <div class="top">
                            <div class="left">
                                <img :src="entityDataItem.image1" alt="">
                            </div>
                            <div class="right">
                                <p>{{ entityDataItem.field21 }}</p>
                            </div>
                        </div>
                        <div class="bottom">
                            <div class="left">
                                <img :src="entityDataItem.image2" alt="">
                            </div>
                            <div class="right">
                                <p>{{ entityDataItem.field31 }}</p>
                            </div>
                        </div>
                    </div>
                    <div class="li2">
                        <button>{{ entityDataItem.operateEventName }}</button>
                    </div>
                </div>
            </div>
        </div>
    </div>


</template>


<style scoped>
.model102-box {
    width: 100%;
    height: 13rem;
    box-shadow: 0.2rem 0.2rem 0.3rem #d9d9d9,
        -0.2rem -0.2rem 0.3rem #ffffff;
    border-radius: 0.3rem;
    margin-bottom: 0.4rem;
}

.model102-box-son {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.model102-box-son>div {
    width: 100%;
    height: 100%;
}

.model102-box-son>.row1 {
    width: 100%;
    height: 60%;
}

.model102-box-son>.row1>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model102-box-son>.row2 {
    width: 100%;
    height: 40%;
    padding: 0.3rem 0.6rem 0.8rem 0.6rem;
}

.model102-box-son>.row2>.rr1 {
    width: 100%;
    height: 32%;
    font-size: 1.4rem;
    text-align: left;
    padding: 0 0.3rem;
}

.model102-box-son>.row2>.rr2 {
    width: 100%;
    height: 68%;
    margin-top: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.model102-box-son>.row2>.rr2>.li1 {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.model102-box-son>.row2>.rr2>.li1>div {
    width: 100%;
    height: 40%;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
}

.model102-box-son>.row2>.rr2>.li1>div>.left {
    height: 100%;
    text-align: left;
    margin-right: 4%;
    position: relative;
}

.model102-box-son>.row2>.rr2>.li1>div img {
    width: 1rem;
    height: 1rem;
    object-fit: cover;
}

.model102-box-son>.row2>.rr2>.li2 {
    width: 40%;
    height: 60%;
}

.model102-box-son>.row2>.rr2>.li1>div>.right {
    width: 3.8rem;
    height: 100%;
}

.model102-box-son>.row2>.rr2>.li1>div>.right>p {
    width: 100%;
    height: 100%;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.1rem 0;
}

.model102-box-son>.row2>.rr2>.li2>button {
    width: 100%;
    height: 100%;
    border: 1px solid rgb(250, 109, 37);
    color: rgb(250, 109, 37);
    border-radius: 2px;
    background-color: white;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 100%;
    font-size: 0.9rem;
}
</style>
